#-*-coding:utf-8-*-
__author__ = 'toriycn'

from app.monitors.server.core import main

from app.monitors.server.conf import settings
import operator
#全局变量
import os,sys
base_dir = os.path.dirname(os.path.dirname((__file__)))
sys.path.append(base_dir)

if __name__ == '__main__':
   server = main.MonitorServer()
   server.config_hosttemplate()
   server.start()
